package com.hyc.gchatsystem.medel;

/**
 * @projectName: gchatsystem
 * @package: com.hyc.gchatsystem.medel
 * @className: UserModel
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2022/4/20 14:04
 * @version: 1.0
 */

public class UserModel {
    private String uid;
    private String nickname;
    //状态 1 在线 0 离线
    private int status;

    public UserModel(String uid, String nickName) {
        this.uid = uid;
        this.nickname = nickName;
    }

    @Override
    public String toString() {
        return "UserModel{" +
                "uid='" + uid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", status=" + status +
                '}';
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public UserModel(String uid, String nickName, int status) {
        this.uid = uid;
        this.nickname = nickName;
        this.status = status;
    }
}
